package com.groupbuying.customer.dao;

import com.groupbuying.customer.domain.CustomerInvitationCodeDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 邀请码
 * @author wenguoqiang
 * @email 17081@mengtaigroup.com
 * @date 2019-01-11 09:20:59
 */
@Mapper
@Repository
public interface CustomerInvitationCodeDao {

	CustomerInvitationCodeDO get(String uuid);
	
	List<CustomerInvitationCodeDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(CustomerInvitationCodeDO invitationCode);
	
	int update(CustomerInvitationCodeDO invitationCode);
	
	int remove(String uuid);
	
	int batchRemove(String[] uuids);
}
